package com.imusic.model.user.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("user_playlist")
public class UserPlaylist implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    @TableField("music_id")
    private Integer musicId;

    @TableField("music_name")
    private String musicName;

    @TableField("singer_id")
    private Integer singerId;

    @TableField("singer_name")
    private String singerName;

    @TableField("is_play")
    private Integer isPlay;

    @TableField("is_like")
    private Integer isLike;

    @TableField("create_time")
    private Date createTime;
}
